package Mangos::DB::Mangos::CreatureQuestrelation;

use strict;

use base qw(Mangos::DB::Mangos);

__PACKAGE__->meta->setup
(
    table   => 'creature_questrelation',

    columns => 
    [
        id    => { type => 'integer', not_null => 1 },
        quest => { type => 'integer', not_null => 1 },
    ],

    primary_key_columns => [ 'id', 'quest' ],
);

1;

package Mangos::DB::Mangos::CreatureQuestrelation::Manager;

use strict;
use warnings;

use base 'Rose::DB::Object::Manager';

sub object_class { 'Mangos::DB::Mangos::CreatureQuestrelation' }

__PACKAGE__->make_manager_methods('creature_questrelation');

1;
